<?php
include_once 'controller/default.php';
include_once 'model/board/process.php';
    if(isset($_GET)){
        $board = new boards();
        $delete = $board->Delete($_GET);
        if($delete){
            echo '<script>alert("Xóa Board thành công.")</script>';
            include 'view/board/board_manager.php';
        }else{
            echo '<script>alert("Xóa Board thất bại.")</script>';
            include 'view/board/board_manager.php';
        }
    }
?>